﻿using MediatR;
using THE_WIND_RISES.Common.Dtos;

namespace Production_Set.API.MaterialManagement.Add
{
    public class BillMaterialCreateCommon : IRequest<Result>
    {
        /// <summary>
        /// 序号
        /// </summary>
        public int ItemId { get; set; }

        /// <summary>
        /// 物料清单编码
        /// </summary>
        public string ItemManifestCode { get; set; }

        /// <summary>
        /// 物料清单版本
        /// </summary>
        public string ItemManifestVersion { get; set; }

        /// <summary>
        /// 物料选择
        /// </summary>
        public int ChooseId { get; set; }

        /// <summary>
        /// 物料清单描述
        /// </summary>
        public string ItemDesc { get; set; }

        /// <summary>
        /// 物料单位
        /// </summary>
        public string ItemUnit { get; set; }

        /// <summary>
        /// 物料规格
        /// </summary>
        public string ItemSpecs { get; set; }

        /// <summary>
        /// 制单人
        /// </summary>
        public string SheetPeople { get; set; }

        /// <summary>
        /// 制单部门
        /// </summary>
        public int DepartmentId { get; set; }

        /// <summary>s
        /// 状态
        /// </summary>
        public bool ItemState { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool? IsDelete { get; set; } = true;
        /// <summary>
        /// 操作人
        /// </summary>
        public string? Handle { get; set; } = "MaxAdmin";
        /// <summary>
        /// 操作内容
        /// </summary>
        public string? HandleContext { get; set; }
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime? HandleTime { get; set; } = DateTime.Now;
        /// <summary>
        /// pid=1:创建   pid=2:审批   pid=3:删除   pid=4:修改  
        /// </summary>
        public int Pid { get; set; }
    }
}
